package com.goods.business.service;

import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

/**
 * @author Decheng Kong
 * @date 2021/11/8 18:32
 */
public interface ProductService {
    PageVO<ProductVO> findProductList(Integer pageNum, Integer pageSize, String name, Integer categoryId, String supplier, Integer status, Integer[] categorys);

    void addProduct(ProductVO productVO);

    ProductVO getProductById(Integer id);

    void updateProduct(ProductVO productVO);

    void deleteProductById(Long id);

    void updateProductStatus(Long id, int code);
}
